package cn.wolfcode.car.business.service;


import cn.wolfcode.car.business.domain.StatementItem;
import cn.wolfcode.car.business.query.StatementItemQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 养修服务单项接口
 */
public interface IStatementItemService extends IService<StatementItem> {

    TablePageInfo<StatementItem> query(StatementItemQuery qo);

    /**
     * 明细保存
     * @param items
     */
    void save(List<StatementItem> items);


    /**
     * 明细支付功能
     * @param statementId
     */
    void payStatement(Long statementId);
}
